package com.yxy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author 杨芯叶
 * @Create 2025-08-01-12:19
 * @Message
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    private String sid;
    private String scId;
    private String sname;
    private String sno;
    private String phone;
    private String pwd;
    private String qq;
    private String avatar;
    private String scName;
    private String sex;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ctime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date atime;
}